home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d20 / snxt_100.arc / SYSNXT.DOC < prev    next >
Text File  |  1991-01-18  |  1KB  |  42 lines

  1.      SYSNXT is a general purpose batch file get key utility.  SYSNXT was
  2. written to use as a Sysop Next key for my BBS.
  3.  
  4.      This program is guarenteed to do nothing but take up your precious
  5. hard disk space.
  6.  
  7. SYSNXT ssskeee [ssskeee] [ssskeee] [ssskeee]
  8.        sss = seconds to wait for timeout 0-255
  9.           k = key to activate timeout (A)lways (C)apsLock (N)umLock (S)crollLock
  10.            eee = errorlevel to exit if any key is pressed 0-255
  11.  
  12. Example: SYSNXT 30S5 = Wait 30 seconds for any key if scroll lock is on.
  13.                        If key is pressed exit with errorlevel 5.
  14.  
  15.      If sss is equal to 0 or missing then there will be no timeout and the
  16. program will exit immediately.  If eee is missing or equal to 0 then the
  17. exit code will be equal to the ascii code of the key pressed.  (k) can be
  18. an A, C, N or S.  If the A, C, N or S is an uppercase character, the computer
  19. will beep as every second ticks by.
  20.  
  21. USE: Example of BBS.BAT...
  22.  
  23. ECHO OFF
  24. :START
  25. SYSNXT 30S1
  26. IF ERRORLEVEL 1 GOTO BATEND
  27. C:
  28. CD\BINKLEY
  29. BT SHARE
  30. .
  31. .
  32. .
  33. GOTO START
  34. :BATEND
  35.  
  36.  
  37. Please send any suggestions or comments to:
  38.  
  39.                                          Mark Billig
  40.                                          1:273/701.0
  41.                                          (215)641-0270
  42.